import request from '~/utils/request'

const API_NAME = '/web/aliyun/vod'

export default {
  // 获得视频播放凭证
  getPlayAuth(videoSourceId) {
    return request({
      url: `${API_NAME}/${videoSourceId}`,
      method: 'get',
    })
  }
}
